<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>CHAT</title>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/ajax-pushlet-client.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/pushlet-api.js"></script>
    <script type="text/javascript">
    	$.pushlet.joinListen(new Date().getTime(), "pushthread");
       	function pushthread(event) {
    	   	var now = event.get('now');
    	   	$('#_content').append(now + '<br/>');
       	}
    </script>
</head>
<body>
	<div id="_content"></div>
</body>
</html>
